<% content_for :title do%>{<%=h @post.title %>}<%end%>
<%= render :partial => "shared/post", :locals => {:post => @post} %>
<article id="tags">
  <header><h1>Tags associés</h1></header>
  <section>
    <% @post.tags.each do |tag| %>
      <span><%= link_to "#{h tag.name}", tag %></span>
    <% end %>
  </section>
</article>
<article id="commentaires">
  <header><h1>Commentaires</h1></header>
  <% @post.comments.each do |comment| %>
    <section class="comment">
      <header><h2><%=h comment.name %></h2></header>
      <section><p><%=h comment.body %></p></section>
      <footer><%=h comment.email %></footer>
    </section>
  <% end %>
</article>
